﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;

namespace Ordering.API.Application.Commands
{
    /// <summary>
    /// 取消订单命令
    /// </summary>
    public class CancelOrderCommand : IRequest<bool>
    {

        [DataMember]
        public string OrderNO { get; private set; }

        /// <summary>
        /// 原因
        /// </summary>
        [DataMember]
        public string Reason { get; private set; }
        public CancelOrderCommand()
        {

        }
        public CancelOrderCommand(string orderNO,string reason)
        {
            this.OrderNO = orderNO;
            this.Reason = reason;
        }
    }
}
